package com.googlecode.stemwijzer.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.googlecode.stemwijzer.shared.model.IsAnswer;
import com.googlecode.stemwijzer.shared.model.IsQuestion;
import com.googlecode.stemwijzer.shared.model.IsQuestionnaireResult;

@RemoteServiceRelativePath("gwt-rpc")
public interface StemwijzerService extends RemoteService {
	Boolean registerUser(String userName);

	Boolean sendAnswer(IsQuestion question, IsAnswer answer);

	IsQuestionnaireResult getResult();

	Boolean resetSession();
}
